<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover">
	    <meta name="apple-mobile-web-app-capable" content="yes" />
	    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
	    <meta name="format-detection" content="telephone=no" />
		<title></title>

		<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="https://sf1-scmcdn-tos.pstatp.com/goofy/ee/lark/h5jssdk/lark/js_sdk/h5-js-sdk-1.5.2.js"></script>
	</head>
	<body>
		<p>test</p>
		<a target="_blank" href="http://pomtest.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=d2e151a8-52a1-4e1c-af5c-9335ce224d6d&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">open by link</a>

		<span id="js-btn5" href="http://pomtest.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=d2e151a8-52a1-4e1c-af5c-9335ce224d6d&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">window.open</span>

		<p>===</p>
		<!--正式环境-->
		<a target="_blank" href="http://pom1.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=b4d9e9ee-e321-4d2c-be47-c8c1c47b48e6&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">feishu link blank</a>

		<a target="_blank" href="http://pom.cnfantasia1.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=b4d9e9ee-e321-4d2c-be47-c8c1c47b48e6&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">feishu link blank</a>

		<a target="_blank" href="http://pom1.cnfantasia1.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=b4d9e9ee-e321-4d2c-be47-c8c1c47b48e6&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">feishu link blank</a>


		<p>===================</p>

		<!--正式环境-->
		<a target="_blank" href="http://pom.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=b4d9e9ee-e321-4d2c-be47-c8c1c47b48e6&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">feishu link blank</a>

		<!--测试环境-->
		<a target="_blank" href="http://pomtest.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=d2e151a8-52a1-4e1c-af5c-9335ce224d6d&amp;UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">feishu link blank - test</a>

		<a id="js-test" href="http://pom.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=b4d9e9ee-e321-4d2c-be47-c8c1c47b48e6&amp;UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8">open outside</a>

		<a target="_blank" href="http://www.baidu.com">baidu</a>

		<p>---------</p>

		<a href="http://xulongchang.gitee.io/jianli/test.html">test.html</a>

		<a href="https://applink.feishu.cn/client/web_url/open?mode=window&url=http%3A%2F%2Fpomtest.cnfantasia.com%2FCustomize%2FCbxt%2FCommon%2FM02010000%2FworkFlow%2FworkFlowOpenFeishu.aspx%3FProcessGuid%3Dd7a6fe14-e996-eb11-9c36-005056a3458f">open by link</a>

		<a href="https://applink.feishu.cn/client/web_url/open?mode=sidebar-semi&url=http%3A%2F%2Fpomtest.cnfantasia.com%2FCustomize%2FCbxt%2FCommon%2FM02010000%2FworkFlow%2FworkFlowOpenFeishu.aspx%3FProcessGuid%3Dd7a6fe14-e996-eb11-9c36-005056a3458f">open by sidebar-semi</a>
		
		<button id="js-btn">iframe open</button>

		<button id="js-btn2">open by btn</button>
		
		<button id="js-btn3">close</button>

		<script type="text/javascript">
			$(document).ready(function(){

				$("#js-test").on("click", function(){
					var $iframe = $("<iframe width='100%' height='500' src='http://pomtest.cnfantasia.com/Customize/Cbxt/Common/M02010000/workFlow/workFlowOpenFeishu.aspx?ProcessGuid=d7a6fe14-e996-eb11-9c36-005056a3458f'>")
					$iframe.appendTo("body")
				})

				$("#js-btn").on("click", function(){
					var $iframe = $("<iframe width='100%' height='500' src='http://pomtest.cnfantasia.com/Customize/Cbxt/Common/M02010000/workFlow/workFlowOpenFeishu.aspx?ProcessGuid=d7a6fe14-e996-eb11-9c36-005056a3458f'>")
					$iframe.appendTo("body")
				})

				$("#js-btn2").on("click", function(){
					var url = 'https://applink.feishu.cn/client/web_url/open?mode=window&url=http%3A%2F%2Fpomtest.cnfantasia.com%2FCustomize%2FCbxt%2FCommon%2FM02010000%2FworkFlow%2FworkFlowOpenFeishu.aspx%3FProcessGuid%3Dd7a6fe14-e996-eb11-9c36-005056a3458f';
					location.href = url;
				})

				$("#js-btn4").on("click", function(){
					var url = 'https://applink.feishu.cn/client/web_url/open?mode=sidebar-semi&url=http%3A%2F%2Fpomtest.cnfantasia.com%2FCustomize%2FCbxt%2FCommon%2FM02010000%2FworkFlow%2FworkFlowOpenFeishu.aspx%3FProcessGuid%3Dd7a6fe14-e996-eb11-9c36-005056a3458f';
					location.href = url;
				})

				$("#js-btn3").on("click", function(){
					alert('close')

					window.h5sdk.biz.navigation.close({});

				})

				$("#js-btn5").on("click", function(){
					window.open('http://pomtest.cnfantasia.com/Customize/Cbxt/Feishu/MobileApproveCreateGroupChat.aspx?ProcessGuid=d2e151a8-52a1-4e1c-af5c-9335ce224d6d&UserGuid=4230bc6e-69e6-46a9-a39e-b929a06a84e8')
				})
				
			})

		</script>
	</body>
</html>
